home *** CD-ROM | disk | FTP | other *** search
- set cursor to 11021
- wait 30
- if the mousev = the clickv then
- set cursor to hand
- listblacks
- else
- repeat with a = 1 to 4
- if line a of fld "verticals" = ""
- then exit repeat
- end repeat
- put "blackline"&a into TB
- set rect of bg btn TB to left of the target + 4 ,the clickv,left of the target + 9,the clickv
- show bg btn TB
- repeat until the mouse = up
- if the mousev < the clickv
- then set rect of bg btn TB to left of the target + 4,max(the mousev,top of the target),left of the target+9,the clickv
- else set rect of bg btn TB to left of the target + 4,the clickv,left of the target+9,min(the mousev,bottom of the target)
- end repeat
- if height of bg btn TB > 3 then
- put top of bg btn TB&","&height of bg btn TB into line a of fld "verticals"
- else
- hide bg btn TB
- end if
- doblacks
- end if